package com.webzavod.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created with IntelliJ IDEA.
 * User: v.tsapaev
 * Date: 26.05.12
 * Time: 19:23
 * To change this template use File | Settings | File Templates.
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping(value = "/403", method = RequestMethod.GET)
    public String error403() {
        return "jsp/error/error403";
    }

    @RequestMapping(value = "/404", method = RequestMethod.GET)
    public String error404() {
        return "jsp/error/error404";
    }

    @RequestMapping(value = "/405", method = RequestMethod.GET)
    public String error405() {
        return "jsp/error/error405";
    }
}
